package com.disdr;

public class 进制转换 {


    public static void main(String[] args) {
        String str = "0xe8804030";
        String tr = str.substring(2);
        System.out.println(tr);

        //Integer a = Integer.parseInt(tr,16);
        Long b = Long.parseLong(tr,16);
        //System.out.println(a);
        System.out.println(b);
        System.out.println(b.intValue());

        Integer num16 = 0xe8804030;
        System.out.println(num16);

    }
}
